from django.urls import path
from django.views.generic import TemplateView
from . import views
urlpatterns = [
    path("", TemplateView.as_view(template_name="login.html"), name="login"),
    path('main_page/', views.main_page, name='main_page'),
    path('add-type/', views.add_type, name='add_type'),
    path('manage-type/', views.manage_type, name='manage_type'),
    path('reg-course/', views.reg_course, name='reg_course'),
    path('manage-course/', views.manage_course, name='manage_course'),
    path('edit-course/<str:course_no>/', views.edit_course, name='edit_course'),
    path('register/', views.register_view, name='register'),    
]